//
//  AppDelegate.swift
//  swiftTest
//
//  Created by LiTing on 17/6/7.
//  Copyright © 2017年 LiTing. All rights reserved.
//

import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?


    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
        
        //设置全局颜色
        UITabBar.appearance().tintColor = UIColor.orangeColor()
        UINavigationBar.appearance().tintColor = UIColor.orangeColor()
        
        
        
        return true
    }

   

}

//        //创建window ( 如果storyboard创建就不用创建window了 )
//        window = UIWindow(frame:UIScreen.mainScreen().bounds)
//        window?.rootViewController = MainViewController();
//        window?.makeKeyAndVisible()
